﻿using System.ServiceProcess;

namespace Attendences.Server
{
    partial class AttendenceService : ServiceBase
    {
        Work _work = new Work();
        public AttendenceService()
        {
            InitializeComponent();
        }

        protected override void OnStart(string[] args)
        {
            _work.Start();
      
        }

        protected override void OnStop()
        {
            _work.Stop();
        }
    }
}
